package com.situ.stmall.manager.service;

import com.situ.stmall.manager.entity.Admin;

public interface AdminService {
    Admin login(Admin admin)throws Exception;

    /**
     * 修改密码
     * @param id
     * @param oldPassword
     * @param newPassword
     * @param rePasswords
     * @return
     * @throws Exception
     */
    Admin modifyPwd(Integer id, String oldPassword,
                    String newPassword, String rePasswords)throws Exception;

    Admin edit(Admin admin)throws Exception;
}
